﻿<!DOCTYPE html>
<html>
<head>
<title>科室材料发放</title>
<meta charset="utf-8">
<meta name="keywords" content="短照中心-湘潭市康复养老中心;">
<meta name="description" content="短照中心-湘潭市康复养老中心;">
<link rel="stylesheet" rev="stylesheet" href="css/framepage.css" type="text/css" media="screen" />
<link rel="stylesheet" type="text/css" href="js/waitBox/wait.css">
<script src="js/vue.js"></script>
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/jquery.cookie.js"></script>
<script src="js/JSON-js-master/json2.js"></script>
<script src="js/waitBox/wait.js"></script>
</head>

<body style="background:rbg(216,216,216);">
<div class="form_div">
  <h3>科室材料发放</h3>
  <ul>
    <li><span class="tit" style="width:70px;">选择科室：</span></li>
    <li>
      <select id="subjectRoom_select" style="width:312px;">
        <option value="二室一厅A户型A床位包间">短照中心</option>
        <option value="二室一厅A户型A床位包间">长照中心</option>
        <option value="二室一厅A户型A床位包间">日照中心</option>
      </select>
      <span style="position:absolute;left:320px;top:0;">
      <input type="button" value="查询" class="button_s button1" onclick="materialApply_find();" style="height:36px;" />
      </span> </li>
  </ul>
</div>
<div style="clear:both;"></div>
<div class="form_div" id="vue_vm_list">
  <div style="margin:0;padding:0;" v-for="todo in todos" v-bind:id="todo.materialApplyId+'_div'">
    <h3></h3>
    <ul>
      <li><span class="tit" style="width:70px;"></span></li>
      <li><span>{{todo.materialName}}</span></li>
      <li><span>品牌：{{todo.materialForm.brand}}</span></li>
      <li><span>型号：{{todo.materialForm.model}}</span></li>
      <li><span>价格：{{todo.materialForm.price}}元/件</span></li>
      <li><span style="color:#FF0000;">库存：{{todo.materialForm.stockNumber}}件</span></li>
    </ul>
    <ul>
      <li><span class="tit" style="width:70px;"></span></li>
      <li><span style="margin-right:20px;">申请科室：{{todo.subjectRoomName}}</span></li>
      <li><span style="margin-right:20px;">操作人：{{todo.handler}}</span></li>
      <li><span style="margin-right:20px;">申请日期：{{todo.createTime}}</span></li>
      <li><span style="margin-right:20px;">数量：{{todo.applyQuantity}}件</span></li>
    </ul>
    <ul>
      <li><span class="tit" style="width:70px;"></span></li>
      <li><span>发放状态：{{todo.grantStatus==0?'未发放':'已发放'}}</span></li>
    </ul>
    <!--
    <ul>
      <li><span class="tit" style="width:70px;"></span></li>
      <li><span style="margin-right:20px;">科室申请总数：1000件</span></li>
      <li><span style="margin-right:20px;">科室销售总数：890件</span></li>
      <li><span style="margin-right:20px;">科室剩余数：10件</span></li>
    </ul>
    -->
    <ul style="top:-13px;" v-bind:id="todo.materialApplyId+'_button'" v-if="todo.grantStatus==0">
      <li><span class="tit" style="width:70px;"></span></li>
      <li style="width:160px;">
        <input type="button" value="发放" class="button button1" v-on:click="materialApply_grantOne(todo);" style="height:38px;"/>
      </li>
      <li style="width:160px;">
        <input type="button" value="删除" class="button button2" v-on:click="materialApply_deleteOne(todo);" style="height:38px;"/>
      </li>
    </ul>
  </div>
</div>
<script src="js/common.js"></script> 
<script src="js/common_function.js"></script> 
<script src="js/busi/subject_room_select.js"></script> 
<script src="js/busi/material_apply.js"></script>
</body>
</html>